﻿using System;
using System.IO;
using System.Windows;
using DeploymentTool.ViewModel;

namespace DeploymentTool
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        /// <summary>
        /// Initializes a new instance of the MainWindow class.
        /// </summary>
        public MainWindow()
        {
            InitializeComponent();
            Closing += (s, e) => ViewModelLocator.Cleanup();

            Uri uri = new Uri(@"pack://siteoforigin:,,,/Highlight.html", UriKind.Absolute);
            //this.webBrowser.Source = uri;
            this.webBrowser.Navigate(uri);
        }
    }
}